const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import("@/views/index.vue")
  },
  {
    path: "/news",
    name: "news",
    component: () => import("@/views/news/index.vue"),
  },
  {
    path: "/newsDetail",
    name: "newsDetail",
    component: () => import("@/views/newsDetail/index.vue"),
  },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/login/login.vue"),
  },
  {
    path: "/register",
    name: "register",
    component: () => import("@/views/login/register.vue"),
  },
  {
    path: "/teachersImprove",
    name: "teachersImprove",
    component: () => import("@/views/teachersImprove/index.vue"),
  },
  {
    path: "/resource",
    name: "resource",
    component: () => import("@/views/resource/index.vue"),
  },
  {
    path: "/courseDetail",
    name: "courseDetail",
    component: () => import("@/views/courseDetail/index.vue"),
  },
  {
    path: "/contactUs",
    name: "contactUs",
    component: () => import("@/views/contactUs/index.vue"),
  },
  {
    path: "/buyRemind",
    name: "buyRemind",
    component: () => import("@/views/buyRemind/index.vue"),
  },
  {
    path: "/bankInfo",
    name: "bankInfo",
    component: () => import("@/views/bankInfo/index.vue"),
  },
  {
    path: "/courseCenter",
    name: "courseCenter",
    component: () => import("@/views/courseCenter/index.vue"),
  },
  {
    path: "/kcDetail",
    name: "kcDetail",
    component: () => import("@/views/courseCenter/detail.vue"),
  },
  {
    path: "/coursePlay",
    name: "coursePlay",
    component: () => import("@/views/courseCenter/coursePlay.vue"),
  },
  {
    path: "/myHomework",
    name: "myHomework",
    component: () => import("@/views/myHomework/index.vue"),
  },
  {
    path: "/teacher",
    name: "teacher",
    component: () => import("@/views/teacher/index.vue"),
  },
  {
    path: "/teachPlay",
    name: "teachPlay",
    component: () => import("@/views/teacher/teachPlay.vue"),
  }
];

export default routes;